using System;
using System.Runtime.InteropServices;
using Microsoft.CommerceServer.Runtime;
using Microsoft.CommerceServer.Interop;
using Microsoft.CommerceServer.Interop.Orders;

namespace PipelineUI
{
	/// <summary>
	/// Summary description for Class1.
	/// </summary>
	[GuidAttribute("9DE90007-4606-4487-A495-D5846B507C11")]
	public class PipeCompUI : IPipelineComponentAdmin, IPipelineComponent, IPipelineComponentDescription, IPersistDictionary, ISpecifyPipelineComponentUI
	{

		private bool fIsDirty;

		public PipeCompUI()
		{
			this.InitNew();
		}

		public String GetProgID()
		{
			return "TemplatePipeComp.PipeComp"; 
		}
		
		public void InitNew()
		{
			fIsDirty = false;
		}

		public Int32 IsDirty()
		{
			return Convert.ToInt32(fIsDirty);
		}

		public void Load(Object pDispDict)
		{
			//
		}

		public void Save(Object pDispDict, Int32 fSameAsLoad)
		{
			//
		}

		public Int32 Execute(Object pdispOrder, Object pdispContext, Int32 Flags)
		{
			return 0;
		}

		public void EnableDesign(Int32 fEnable)
		{
			//
		}

		public Object GetConfigData()
		{
			return null;
		}

		public void SetConfigData(Object pdispDict)
		{
			//
		}

		public System.Object ContextValuesRead()
		{
			return null;
		}

		public System.Object ValuesRead()
		{
			return null;
		}

		public System.Object ValuesWritten()
		{
			return null;
		}

		public String GetPipelineComponentUIProgID()
		{
			return "PipelineUI.frmPipeCompUI";
		}
	}
}
